function Test(args) {
	this.name = args.name;
	this.binary = args.binary;
	this.categoryId = args.category;
	this.id = args.id;
	this.primary = args.primary;
	
	this.fnTest = (function() {
		if (args.fn_test) {
			return JSON.parse(args.fn_test);
		}
	})();
	this.dnTest = (function() {
		if (args.dn_test) {
			return JSON.parse(args.dn_test);
		}
	})();
	this.dpTest = (function() {
		if (args.dp_test) {
			return JSON.parse(args.dp_test);
		}
	})();
	this.fpTest = (function() {
		if (args.fp_test) {
			return JSON.parse(args.fp_test);
		}
	})();
	this.condition = (function() {
		if (args.condition) {
			Ti.API.debug('Condition is: '+args.condition+' should be: '+JSON.stringify({title:'Limited',values:['true','false']}));
			return JSON.parse(args.condition);
		}
	})();
	
	// Transient fields
	this.result = args.result;
	this.category = args.category;
	
}
exports.Test = Test;
